package com.fastloan.mgt.product.approve.dao;

import com.fastloan.mgt.product.approve.model.ProductApprove;
import com.kawins.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author admins
 */
public interface ProductApproveMapper extends BaseMapper<ProductApprove> {

    /**
     * 重置排序
     *
     * @param productId
     * @return
     */
    Integer resetOrder(@Param("productId") String productId);

    /**
     * 批量插入
     * @param list
     * @return
     */
    Integer insertList(List<ProductApprove> list);

}